<?php
require_once 'Jnd/Application/Bootstrap.php';

class Bootstrap extends Jnd_Application_Bootstrap
{

    protected function _initAutoload()
    {
        
        parent::_initAutoload();
        $this->_addModuleAutoloader(FRAMEWORK_PATH . '/modules', 'Default');
        $this->_addModuleAutoloader(APPLICATION_PATH . '/modules', 'Administration');
        $this->_addModuleAutoloader(APPLICATION_PATH . '/modules', 'Site');
        return Zend_Loader_Autoloader::getInstance();
    }

    protected function _initPlugins()
    {
        
        $config_auth = $this->bootstrap('frontController')->getOption('auth');
    }

    protected function _initPaginator()
    {
        Zend_Paginator::setDefaultScrollingStyle('Sliding');
        Zend_View_Helper_PaginationControl::setDefaultViewPartial('pagination.phtml');
    }
}